package com.weizhong.xml;

/**
 * 保存到本地的xml 关于下载的一些信息
 * 
 * @author Administrator
 * 
 */
public class LocalConfigInfo {

	// 下载的文件名
	private String fileName = "";
	// 下载路径
	private String downloadUrl = "";
	// 版本
	private String versionCode = "";
	// 版本显示名
	private String versionDisplayName = "";
	// 是否是最新版本
	private boolean isUpdateSuccess;
	// 是否下载完成
	private boolean isDownSuccess;
	// 服务器文件的md5码
	private String md5code = "";
	//更新包信息
	private String updateInfo = "";
	
	private long fileSize;

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	public String getUpdateInfo() {
		return updateInfo;
	}

	public void setUpdateInfo(String updateInfo) {
		this.updateInfo = updateInfo;
	}

	
	public String getVersionCode() {
		return versionCode;
	}

	public void setVersionCode(String versionCode) {
		this.versionCode = versionCode;
	}

	public boolean isUpdateSuccess() {
		return isUpdateSuccess;
	}

	public void setUpdateSuccess(boolean isUpdateSuccess) {
		this.isUpdateSuccess = isUpdateSuccess;
	}

	public boolean isDownSuccess() {
		return isDownSuccess;
	}

	public void setDownSuccess(boolean isDownSuccess) {
		this.isDownSuccess = isDownSuccess;
	}

	public String getMd5code() {
		return md5code;
	}

	public void setMd5code(String md5code) {
		this.md5code = md5code;
	}

	public String getDownloadUrl() {
		return downloadUrl;
	}

	public void setDownloadUrl(String downloadUrl) {
		this.downloadUrl = downloadUrl;
	}

	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

	@Override
	public String toString() {
		return "LocalConfigInfo:" + versionCode + ";"
				+ String.valueOf(isUpdateSuccess);
	}
}
